<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>


    <script>

        // 字符串对象  !==  字符串


        // 字符串
        var str = 'hi' ;

        // 字符串对象
        var str2 = new String('hi') ;

        console.log(str) ;

        console.log(str2) ;

        console.log(str == str2) ;  // true    值相等

        console.log(str === str2) ;  // false

    </script>
    
</body>
</html>